In cryptography, a message authentication code (often MAC) is a short piece of information used to authenticate a message and to provide integrity and authenticity assurances on the message. Integrity assurances detects accidental and intentional message changes, while authenticity assurances affirms the message's origin.
详细百科解释